.class Lcom/example/m6shop/ShopPsActivity$3;
.super Ljava/lang/Object;
.source "ShopPsActivity.java"

# interfaces
.implements Landroid/widget/CompoundButton$OnCheckedChangeListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6shop/ShopPsActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6shop/ShopPsActivity;


# direct methods
.method constructor <init>(Lcom/example/m6shop/ShopPsActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6shop/ShopPsActivity$3;->this$0:Lcom/example/m6shop/ShopPsActivity;

    .line 93
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onCheckedChanged(Landroid/widget/CompoundButton;Z)V
    .locals 3
    .param p1, "buttonView"    # Landroid/widget/CompoundButton;
    .param p2, "isChecked"    # Z

    .prologue
    .line 98
    if-eqz p2, :cond_1

    .line 99
    iget-object v1, p0, Lcom/example/m6shop/ShopPsActivity$3;->this$0:Lcom/example/m6shop/ShopPsActivity;

    # getter for: Lcom/example/m6shop/ShopPsActivity;->list:Ljava/util/List;
    invoke-static {v1}, Lcom/example/m6shop/ShopPsActivity;->access$0(Lcom/example/m6shop/ShopPsActivity;)Ljava/util/List;

    move-result-object v1

    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-nez v2, :cond_0

    .line 102
    iget-object v1, p0, Lcom/example/m6shop/ShopPsActivity$3;->this$0:Lcom/example/m6shop/ShopPsActivity;

    iget-object v1, v1, Lcom/example/m6shop/ShopPsActivity;->pa:Ladapter/PsAdapter;

    invoke-virtual {v1}, Ladapter/PsAdapter;->notifyDataSetChanged()V

    .line 109
    :goto_1
    return-void

    .line 99
    :cond_0
    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lbean/Pstimebean;

    .line 100
    .local v0, "e":Lbean/Pstimebean;
    const-string v2, "1"

    invoke-virtual {v0, v2}, Lbean/Pstimebean;->setChoice(Ljava/lang/String;)V

    goto :goto_0

    .line 104
    .end local v0    # "e":Lbean/Pstimebean;
    :cond_1
    iget-object v1, p0, Lcom/example/m6shop/ShopPsActivity$3;->this$0:Lcom/example/m6shop/ShopPsActivity;

    # getter for: Lcom/example/m6shop/ShopPsActivity;->list:Ljava/util/List;
    invoke-static {v1}, Lcom/example/m6shop/ShopPsActivity;->access$0(Lcom/example/m6shop/ShopPsActivity;)Ljava/util/List;

    move-result-object v1

    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_2
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-nez v2, :cond_2

    .line 107
    iget-object v1, p0, Lcom/example/m6shop/ShopPsActivity$3;->this$0:Lcom/example/m6shop/ShopPsActivity;

    iget-object v1, v1, Lcom/example/m6shop/ShopPsActivity;->pa:Ladapter/PsAdapter;

    invoke-virtual {v1}, Ladapter/PsAdapter;->notifyDataSetChanged()V

    goto :goto_1

    .line 104
    :cond_2
    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lbean/Pstimebean;

    .line 105
    .restart local v0    # "e":Lbean/Pstimebean;
    const-string v2, "0"

    invoke-virtual {v0, v2}, Lbean/Pstimebean;->setChoice(Ljava/lang/String;)V

    goto :goto_2
.end method
